home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
PROGRAMM
/
DB_CLIPP
/
0643A.ZIP
/
VIDPOP
/
WINDOWS.PRG
< prev
Wrap
Text File
|
1987-03-08
|
2KB
|
79 lines
************************************************************
*
* Program: WINDOW.PRG
*
* Author: Paul Ferrara
* Copyright: (c) 1986 COLUMBUSOFT
*
* Uses: VIDPOP.COM from "The Research Group"
* A utility furnished with SAYWHAT?!
*
* Last Change: 05-14-86 05:47
*
************************************************************
*
* Will run with either dBase III version 1.1 or dBase III PLus
*
* Note: 1) SET MCOLOR=C or SET MCOLOR=M from DOS depending on
* whether you have a color or mono card/monitor.
* 2) Run VIDPOP.COM from the DOS prompt.
* 3) Load dBase and the program by entering DBASE WINDOW
* from the DOS prompt or DO WINDOW from dBase's dot
* prompt.
*
SET BELL OFF
SET TALK OFF
SET SAFETY OFF
SET DELIMITER OFF
SET DELETE ON
SET SCOREBOARD OFF
SET COLOR TO W/ , /W
? "Ready to issue STORE GETNEV statement."
STORE GETENV("MCOLOR") TO mcolor
?? CHR(255)+CHR(255)+"&mcolor.RED/"
?
WAIT
?? CHR(255)+CHR(255)+"&mcolor.GREEN/"
?? CHR(255)+CHR(255)+"&mcolor.BLUE/"
@ 0 ,0
STORE 1 TO mcurrent
DO WHILE .T.
SET CONSOLE OFF
WAIT TO choice
SET CONSOLE ON
DO CASE
CASE choice="1"
DO CASE
CASE mcurrent=1
?? CHR(255)+CHR(255)+"&mcolor.GREEN/"
STORE 2 TO mcurrent
CASE mcurrent=2
?? CHR(255)+CHR(255)+"&mcolor.BLUE/"
STORE 1 TO mcurrent
CASE mcurrent=3
?? CHR(255)+CHR(255)+"&mcolor.BLUE/"
STORE 1 TO mcurrent
ENDCASE
@ 0 ,0
CASE choice="2"
DO CASE
CASE mcurrent=1
?? CHR(255)+CHR(255)+"&mcolor.RED/"
STORE 3 TO mcurrent
CASE mcurrent=2
?? CHR(255)+CHR(255)+"&mcolor.RED/"
STORE 3 TO mcurrent
CASE mcurrent=3
?? CHR(255)+CHR(255)+"&mcolor.GREEN/"
STORE 2 TO mcurrent
ENDCASE
@ 0 ,0
CASE choice="0"
SET TALK ON
CLEAR
EXIT
ENDCASE
ENDDO
* EOF: WINDOW.PRG